package spring2.aop1;

import org.springframework.stereotype.Service;

/**
 * Administrator
 *
 * @author jiangbang
 * @date 2016/11/14
 */
@Service
public class AopOneImpl implements AopOne {
    @Override
    public int add(int i, int j) {
        int result = i+j;
        return result;
    }

    @Override
    public int sub(int i, int j) {
        int result = i-j;
        return result;
    }

    @Override
    public int mul(int i, int j) {
        int result = i*j;
        return result;
    }

    @Override
    public int div(int i, int j) {
        int result = i/j;
        return result;
    }
}
